package com.wang.common.exception;

/**
 * @author 子凡
 */
public enum BizCodeEnum {
    //系统未知异常
    UNKNOWN_EXCEPTION(10000,"系统未知异常"),
    //数据校验异常
    VALID_EXCEPTION(10001,"数据校验异常");

    private Integer code;
    private String message;

    BizCodeEnum(Integer code,String message){
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
